home *** CD-ROM | disk | FTP | other *** search
- Path: telenor.no!PC-DT-7
- From: cstange@infonet.no (Christian Stange)
- Newsgroups: comp.os.os2.networking.tcp-ip,comp.lang.rexx
- Subject: Rexx script for dialup [OS/2]
- Date: 2 Jan 1996 10:27:09 GMT
- Organization: Telenor
- Distribution: inet
- Message-ID: <4cb19t$guu@info.ti.tele.no>
- NNTP-Posting-Host: 148.120.35.44
- Summary: Question for help on making Rexx script to replace Linkup.exe and DUOIP
- Keywords: Rexx script, Linkup, Dial up other internet provider
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- I wish to make a script to replace Linkup.exe and DUOIP (Dial Up Other
- Internet Provider).
-
- Linkup tries to find a TCP/IP connection. If it find one, it start up the
- program on the commandline and dies gracefully. If not, it will give you the
- opertunety to choose between Advantis and DUOIP, make a connection, start the
- program and die.
-
- I want a Linkup that will check for a TCP/IP connection. If none found it will
- start a script for login, second check the connection and start the program on
- the command line. If there is any hidden command parameters for linkup.exe, I
- may be able to use those and drop the rexx scripting.
-
- The second problem is making the connection.
-
- I've seen a good deal of Rexx scripts, but have little or none knowledge of
- the underlying algoritme. As far as I know there is possible to use the DUOIP
- with a rexx script that will do all the fancy stuff (redial, try a different
- IP and so on), but the most resurce effective will of cause be a rexx script.
-
- The thing I need is the following:
-
- * Algoritme for Rexx script for PPP connection
- * Example of use of Rexx PM output window (for logging)
- * Example of checking for TCP/IP connection
- * All the example Rexx code for TCP/IP you have ;-))
-
-